package com.health.db.mapper;

import com.health.db.dto.DoctorListDto;
import com.health.db.model.UserCollectFavorite;
import com.health.db.model.UserCollectFavoriteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserCollectFavoriteMapper {
    int countByExample(UserCollectFavoriteExample example);

    int deleteByExample(UserCollectFavoriteExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(UserCollectFavorite record);

    int insertSelective(UserCollectFavorite record);

    List<UserCollectFavorite> selectByExample(UserCollectFavoriteExample example);

    UserCollectFavorite selectByPrimaryKey(Long recid);

    int updateByPrimaryKeySelective(UserCollectFavorite record);

    int updateByPrimaryKey(UserCollectFavorite record);

    List<DoctorListDto> selectDocListDtoByCollectorId(@Param("collectid")Long collectid);

    UserCollectFavorite selectByCollectorIdAndCollectionId(@Param("collectid" )Long collectorId,@Param("collectionid" )Long collectionId);
}